<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<title>添加办公语</title>
<style type="text/css">
td {
	font-size: 12px;
}
</style>
<script language="javascript" src="js/jquery-1.4.2.min.js"></script>
</head>
<body>
	<table align="center" border="0" cellpadding="0" cellspacing="0"
		width="100%">
		<tbody>
			<tr>
				<td style="background: url('image/wsoa_window_002.gif');" width="1"></td>
				<td style="background: url('image/wsoa_window_002.gif');">
					<table border="0" cellpadding="0" cellspacing="0">
						<tbody>
							<tr>
								<td align="center"
									style="background: url('image/wsoa_window_002.gif');"
									width="10"><img src="image/center_19.gif"></td>
								<td align="center"
									style="background: url('image/wsoa_window_002.gif');"></td>
								<td>选择办公语</td>
							</tr>
						</tbody>
					</table>
				</td>
				<td style="background: url('image/wsoa_window_002.gif');" width="1"></td>
			</tr>
			<tr>
				<td style="background: url('image/wsoa_window_010.gif');" width="1">
					&nbsp;</td>
				<td>
					<table width="100%" align="center" id="language">
						<c:forEach items="${workLanList}" var="lan">
							<tr>
								<td style="border-bottom: 1px #ccc double;"><input
									type="radio" name="lan" id="workLan" value="${lan.content }">${lan.content }<br>
								</td>
							</tr>
						</c:forEach>
						<tr>
							<td align="center"><input type="button"
								value="&nbsp;&nbsp;提交&nbsp;&nbsp;" onclick="Submit()" /> <input
								type="button" value="&nbsp;&nbsp;退出&nbsp;&nbsp;"
								onclick="Exit()" /></td>
						</tr>
					</table>
				</td>
				<td style="background: url('image/wsoa_window_006.gif');" width="1">
					&nbsp;</td>
			</tr>
			<tr>
				<td height="1" width="1"><img src="image/wsoa_window_009.gif"
					height="16" width="14"></td>
				<td style="background: url('image/wsoa_window_008.gif');" height="1"></td>
				<td height="1" width="1"><img src="image/wsoa_window_007.gif"
					height="16" width="12"></td>
			</tr>
		</tbody>
	</table>

</body>
<script>
	function Exit() {
		window.close();
	}

	function Submit() {
		var contents = $("#language").find("input[type='radio']");
		for (var i = 0; i < contents.length; i++) {
			if (contents[i].checked) {
				window.parent.opener.SetVerifyComment('${location}',
						contents[i].value);
				window.close();
				return;
			}
		}
		window.close();
	}
</script>


</html>
